/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.builder.abstract_builder;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/10 11:49
 */
public class ProductBBuilder extends AbstractBuilder {
    private ProductB productB = new ProductB();
    @Override
    public void set() {
        productB.setBprop1(328);
        productB.setBprop2(331.3);
        productB.setProp1(3.4);
    }

    @Override
    public AbstractProduct build() {
        return productB;
    }
}
